package com.worker.microsoft.service.impl;

import com.worker.microsoft.domain.OnedecRole;
import com.worker.microsoft.mapper.OnedecRoleMapper;
import com.worker.microsoft.service.RoleService;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private OnedecRoleMapper onedecRoleMapper;
    @Override
    public List<OnedecRole> selectAll() {
        return onedecRoleMapper.selectByExample(null);
    }
}
